﻿using Masa.BuildingBlocks.Ddd.Domain.Entities;

namespace Masa.CqrsProject.Models
{
    /// <summary>
    /// 订单信息
    /// </summary>
    public class OrderInfo:AggregateRoot<int>
    {
        /// <summary>
        /// 订单号
        /// </summary>
        public string? OrderSn { get; set; }   
        /// <summary>
        /// 订单价格
        /// </summary>
        public OrderPrice OrderPrice { get; set; }     
        /// <summary>
        /// 订单商品
        /// </summary>
        public List<OrderItems> OrderItems { get; set; }

    }
}
